package com.star.percalservice.service;

import com.star.percalservice.model.dto.TeacherDTO;
import com.star.percalservice.model.entity.Teacher;
import com.star.percalservice.utils.R;

/**
 * @author star
 * @version 1.0
 * @Description:
 * @DateTime 2025/4/13 2:45
 */

public interface TeacherService {

    R getTeacherDataById(Integer id);

    R list(TeacherDTO teacherDTO);

    R add(Teacher teacher);


    R update(Teacher teacher);

    R delete(Integer id);

    R getByUserId(Integer userId);
}
